import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';

import UnlockPage from './unlock-page.component';

# Unlock Page

Portal page for user to auth the access of their account

<Canvas>
  <Story id="pages-unlockpage--default-story" />
</Canvas>

## Props

| Name                       | Description                                                                |
| -------------------------- | -------------------------------------------------------------------------- |
| `navigate`                 | Navigate function for redirect after action `object`                       |
| `isUnlocked`               | If isUnlocked is true will redirect to most recent route in history `bool` |
| `onRestore`                | onClick handler for "Forgot password?" link `func`                         |
| `onSubmit`                 | onSumbit handler when form is submitted `func`                             |
| `forceUpdateMetamaskState` | Force update metamask data state `func`                                    |
